package com.mhc.suzuki.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * Created by HW
 * on 2017/9/26 9:49.
 * 审核页面客户信息对应VO
 */
@Data
public class AuditCustomerVO implements Serializable {

    private static final long serialVersionUID = -7641939426013797736L;

    /**
     * 订单编号:产品代码+时间+4位随机数
     * <p>
     * pcl_order.order_no
     */
    private String orderNo;


    /**
     * 部门名称
     * pcl_order.dept_name
     */
    private String deptName;


    /**
     * 冗余字段，业务员名称
     * pcl_order.staff_name
     */
    private String staffName;


    /**
     * 冗余字段，客户姓名
     * <p>
     * pcl_order.customer_name
     */
    private String customerName;

    /**
     * 贷款额度
     * <p>
     * pcl_loan_info.loan_amount
     */
    private java.math.BigDecimal loanAmount;


    /**
     * 品牌车型
     * pcl_car_info.car_model
     */
    private String carModel;


    /**
     * 记录创建时间, 即贷款申请时间
     * pcl_order_audit_apply.gmt_create
     */
    @SuppressWarnings("squid:S3437")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime gmtCreate;


}
